package content

import (
	"context"
	"gf_blog_admin/internal/service"

	"gf_blog_admin/api/content/v1"
)

func (c *ControllerV1) ArticleTagAll(ctx context.Context, req *v1.ArticleTagAllReq) (res *v1.ArticleTagAllRes, err error) {
	res = &v1.ArticleTagAllRes{}
	res.Rows, err = service.ArticleTag().All(ctx)
	return
}
